#!/usr/bin/python
# -*- coding: utf-8 -*-
# Author: liuguojun

from django.http import Http404, HttpResponse,HttpResponseRedirect
from django.shortcuts import render_to_response
from django.http import HttpResponse
from random import randint

def http404( request):
	img_list = ['404_1.png', '404_2.jpg', '404_3.gif', '404_4.gif', '404_5.jpeg', '404_6.png', '404_7.jpg', '404_8.jpg', '404_9.jpg', '404_10.gif']
	img = img_list[ randint(0,9) ]
	
	return render_to_response('page404.html', {'img':img})
	
def bugreport(request):
	pass